using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;using Maxleaf.EDI.Domain.K3;

namespace Maxleaf.EDI.DataAccess.K3
{
    public class t_Base_Help_WebContextOtherMap : EntityTypeConfiguration<t_Base_Help_WebContextOther>
    {
        public t_Base_Help_WebContextOtherMap()
        {
            // Primary Key
            this.HasKey(t => t.FID);

            // Properties
            this.Property(t => t.FKey)
                .IsRequired()
                .HasMaxLength(200);

            this.Property(t => t.FSub)
                .HasMaxLength(80);

            // Table & Column Mappings
            this.ToTable("t_Base_Help_WebContextOther");
            this.Property(t => t.FID).HasColumnName("FID");
            this.Property(t => t.FKey).HasColumnName("FKey");
            this.Property(t => t.FTypeID).HasColumnName("FTypeID");
            this.Property(t => t.FMenuID).HasColumnName("FMenuID");
            this.Property(t => t.FSub).HasColumnName("FSub");
        }
    }
}
